set title "Latencia x Tempo"
set xlabel "Tempo (s)"
set ylabel "Latencia (ms)"
set yrange [0.0:100.0]
set term jpeg
set output "../graphs/plot_latency.jpg"

plot "../logs/latency2.log" using 1:2 notitle with dots

set title "Jitter x Tempo"
set ylabel "Jitter (ms)"
set yrange [-20.0:20.0]
set output "../graphs/plot_jitter.jpg"

plot "../logs/jitter.log" using 1:2 notitle with dots

set title "Jitter x Tempo"
set ylabel "Jitter (ms)"
set yrange [-0.5:0.5]
set output "../graphs/fit_jitter.jpg"

plot "../logs/jitter.log" using 1:2:(1.0) smooth acsplines title "acsplines" with lines
